﻿using System;
using System.Windows.Forms;

namespace GMusicBox
{
    public class PaintPanel:Panel
    {
        public PaintPanel()
        {
            this.SetStyle(ControlStyles.AllPaintingInWmPaint | ControlStyles.OptimizedDoubleBuffer | ControlStyles.UserPaint, true);
        }
    }
}
